# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coreaction
pkgver=4.5.0
pkgrel=0
pkgdesc="A side bar for showing widgets from C-Suite"
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
makedepends="
	cmake
	libcprime-dev
	libcsys-dev
	qt5-qtbase-dev
	qt5-qtsvg-dev
	samurai
	"
source="https://gitlab.com/cubocore/coreaction/-/archive/v$pkgver/coreaction-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # No tests

build() {
	cmake -B build -GNinja \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
d03744e5d88e78e827282e7afa73160cb4dce6021d09b2d182cb13e6bbfe144b17b531c47e1ca9921a10d415c4762b5689fb0f2251e03ced5a6bd7da90026770  coreaction-v4.5.0.tar.gz
"
